<p class="smallNav">
  创建倾向
</p>
<br/>
<% form_for(@dimen, :url => { :action => "create_dimen" }) do |f| %>
  <%= hidden_field_tag "test_id", @test_id%>
  <p>
    <%= f.label "倾向" %>
    <%= f.text_field :name %>
    <%= f.error_message_on :name%>
    <br />
  </p>

  <p>
    <%= f.label "倾向说明" %><br/>
    <%= f.text_area :description, :size => "60x10" %>
    <%= f.error_message_on :description  %>
    <br />
  </p>
  <p>
    建议<br />
    <%= f.text_area :formula, :size => "60x10" %>
    <%= f.error_message_on :formula  %>
  <p>
    <%= f.submit "保存" %>
  </p>
<% end %>
